package com.zhi.blog.dto;

import com.zhi.common.annotation.Translation;
import com.zhi.common.constant.TransConstant;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.transaction.annotation.Transactional;


/**
 * 友情链接
 *
 * @author yezhiqiu
 * @date 2021/08/10
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class FriendLinkDTO {

    /**
     * id
     */
    private Long id;

    /**
     * 链接名
     */
    private String linkName;

    /**
     * 链接头像
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL)
    private String linkAvatar;

    /**
     * 链接地址
     */
    private String linkAddress;


    /**
     * 介绍
     */
    private String linkIntro;

}
